package com.chinaedu.oc.po.commodity;
/***********************************************************************
 * Module:  CommodityRelationship.java
 * Author:  Administrator
 * Purpose: Defines the Class CommodityRelationship
 ***********************************************************************/

/**
 * 商品和商品关联
 * 
 * @pdOid c6e918f5-5370-4ad6-a911-0612dcd89267
 */
public class CommodityRelationship {
	/**
	 * 关系表id
	 * 
	 * @pdOid b7dd887d-ecd5-435a-8895-4fcedf473a48
	 */
	private String id;
	/**
	 * 父id
	 * 
	 * @pdOid 0b7da909-c458-47d3-ba97-8221ff3f13fc
	 */
	private String parentId;
	/**
	 * 子id
	 * 
	 * @pdOid cb5e66a6-311b-4ae2-be97-ff47cff61af2
	 */
	private String childId;

	/**
	 * 商品现价
	 */
	private Integer singleCurrentPrice;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getChildId() {
		return childId;
	}

	public void setChildId(String childId) {
		this.childId = childId;
	}

	public Integer getSingleCurrentPrice() {
		return singleCurrentPrice;
	}

	public void setSingleCurrentPrice(Integer singleCurrentPrice) {
		this.singleCurrentPrice = singleCurrentPrice;
	}

	@Override
	public String toString() {
		return "CommodityRelationship [id=" + id + ", parentId=" + parentId + ", childId=" + childId
				+ ", singleCurrentPrice=" + singleCurrentPrice + "]";
	}
	

}